<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Secure Sockets: Secure Sockets results/error codes</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="cypress_logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Secure Sockets</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group__secure__sockets__results.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle"><div class="title">Secure Sockets results/error codes<div class="ingroups"><a class="el" href="group__group__secure__sockets.html">Secure Sockets API</a> &raquo; <a class="el" href="group__group__secure__sockets__macros.html">Macros</a></div></div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p >Secure Sockets Library APIs return results of type cy_rslt_t and consist of three parts: </p>
<ul>
<li>module base</li>
<li>type</li>
<li>error code</li>
</ul>
<dl class="section user"><dt>Result Format</dt><dd></dd></dl>
<pre class="fragment">           Module base                   Type    Library-specific error code
   +-----------------------------------+------+------------------------------+
   |CY_RSLT_MODULE_SECURE_SOCKETS_BASE | 0x2  |           Error Code         |
   +-----------------------------------+------+------------------------------+
             14 bits                    2 bits            16 bits

See the macro section of this document for library-specific error codes.
</pre><p >The data structure cy_rslt_t is part of cy_result.h located in &lt;core_lib/include&gt;</p>
<p >Module base: This base is derived from CY_RSLT_MODULE_MIDDLEWARE_BASE (defined in cy_result.h) and is an offset of the CY_RSLT_MODULE_MIDDLEWARE_BASE. The details of the offset and the middleware base are defined in cy_result_mw.h, which is part of the <a href="https://github.com/infineon/connectivity-utilities">GitHub connectivity-utilities</a> repo. For example, the Secure Sockets Library uses CY_RSLT_MODULE_SECURE_SOCKETS_BASE as the module base.</p>
<p >Type: This type is defined in cy_result.h and can be one of CY_RSLT_TYPE_FATAL, CY_RSLT_TYPE_ERROR, CY_RSLT_TYPE_WARNING, or CY_RSLT_TYPE_INFO. AWS library error codes are of type CY_RSLT_TYPE_ERROR.</p>
<p >Library-specific error code: These error codes are library-specific and defined in the macro section.</p>
<p >Helper macros used for creating the library-specific result are provided as part of cy_result.h. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga47a0ff45a7680dc488de94c559f1cb31"><td class="memItemLeft" align="right" valign="top"><a id="ga47a0ff45a7680dc488de94c559f1cb31" name="ga47a0ff45a7680dc488de94c559f1cb31"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_SECURE_SOCKETS_ERR_BASE</b>&#160;&#160;&#160;CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_SECURE_SOCKETS_BASE, 0)</td></tr>
<tr class="memdesc:ga47a0ff45a7680dc488de94c559f1cb31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Secure Sockets error code base. <br /></td></tr>
<tr class="separator:ga47a0ff45a7680dc488de94c559f1cb31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7076deaa42ba4f0c9e80d6d807ecdea"><td class="memItemLeft" align="right" valign="top"><a id="gae7076deaa42ba4f0c9e80d6d807ecdea" name="gae7076deaa42ba4f0c9e80d6d807ecdea"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_TCPIP_ERROR</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 1 )</td></tr>
<tr class="memdesc:gae7076deaa42ba4f0c9e80d6d807ecdea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generic TCP/IP error. <br /></td></tr>
<tr class="separator:gae7076deaa42ba4f0c9e80d6d807ecdea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11aea8ad5dfd9ea5de446b30d6db82d6"><td class="memItemLeft" align="right" valign="top"><a id="ga11aea8ad5dfd9ea5de446b30d6db82d6" name="ga11aea8ad5dfd9ea5de446b30d6db82d6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_BADARG</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 2 )</td></tr>
<tr class="memdesc:ga11aea8ad5dfd9ea5de446b30d6db82d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalid argument. <br /></td></tr>
<tr class="separator:ga11aea8ad5dfd9ea5de446b30d6db82d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7631cf4765aea807ee7eef6628ea962c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__secure__sockets__results.html#ga7631cf4765aea807ee7eef6628ea962c">CY_RSLT_MODULE_SECURE_SOCKETS_NOMEM</a>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 3 )</td></tr>
<tr class="memdesc:ga7631cf4765aea807ee7eef6628ea962c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Out of resources.  <a href="group__group__secure__sockets__results.html#ga7631cf4765aea807ee7eef6628ea962c">More...</a><br /></td></tr>
<tr class="separator:ga7631cf4765aea807ee7eef6628ea962c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76b8e494a5c48cb3fb8d84a9a2f200ba"><td class="memItemLeft" align="right" valign="top"><a id="ga76b8e494a5c48cb3fb8d84a9a2f200ba" name="ga76b8e494a5c48cb3fb8d84a9a2f200ba"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_NOT_CONNECTED</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 4 )</td></tr>
<tr class="memdesc:ga76b8e494a5c48cb3fb8d84a9a2f200ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Socket not connected. <br /></td></tr>
<tr class="separator:ga76b8e494a5c48cb3fb8d84a9a2f200ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae6a87e885601b640fba5752a8ec29b4"><td class="memItemLeft" align="right" valign="top"><a id="gaae6a87e885601b640fba5752a8ec29b4" name="gaae6a87e885601b640fba5752a8ec29b4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_CLOSED</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 5 )</td></tr>
<tr class="memdesc:gaae6a87e885601b640fba5752a8ec29b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Socket closed. <br /></td></tr>
<tr class="separator:gaae6a87e885601b640fba5752a8ec29b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78e2f95d77864f1b4c1511246411b593"><td class="memItemLeft" align="right" valign="top"><a id="ga78e2f95d77864f1b4c1511246411b593" name="ga78e2f95d77864f1b4c1511246411b593"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_ALREADY_CONNECTED</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 6 )</td></tr>
<tr class="memdesc:ga78e2f95d77864f1b4c1511246411b593"><td class="mdescLeft">&#160;</td><td class="mdescRight">Socket already connected. <br /></td></tr>
<tr class="separator:ga78e2f95d77864f1b4c1511246411b593"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadbf2f8f83f4bd800effdd3e58a266ceb"><td class="memItemLeft" align="right" valign="top"><a id="gadbf2f8f83f4bd800effdd3e58a266ceb" name="gadbf2f8f83f4bd800effdd3e58a266ceb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_PROTOCOL_NOT_SUPPORTED</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 7 )</td></tr>
<tr class="memdesc:gadbf2f8f83f4bd800effdd3e58a266ceb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protocol not supported. <br /></td></tr>
<tr class="separator:gadbf2f8f83f4bd800effdd3e58a266ceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a89a78e3b207e09012dd0c9ed8e49dd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__secure__sockets__results.html#ga2a89a78e3b207e09012dd0c9ed8e49dd">CY_RSLT_MODULE_SECURE_SOCKETS_OPTION_NOT_SUPPORTED</a>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 8 )</td></tr>
<tr class="memdesc:ga2a89a78e3b207e09012dd0c9ed8e49dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Socket option not supported error.  <a href="group__group__secure__sockets__results.html#ga2a89a78e3b207e09012dd0c9ed8e49dd">More...</a><br /></td></tr>
<tr class="separator:ga2a89a78e3b207e09012dd0c9ed8e49dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafec24692af0732924ead22a68118a926"><td class="memItemLeft" align="right" valign="top"><a id="gafec24692af0732924ead22a68118a926" name="gafec24692af0732924ead22a68118a926"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_INVALID_OPTION</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 9 )</td></tr>
<tr class="memdesc:gafec24692af0732924ead22a68118a926"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalid option. <br /></td></tr>
<tr class="separator:gafec24692af0732924ead22a68118a926"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc88f329a4d4bd26dc57e5a613c12a4f"><td class="memItemLeft" align="right" valign="top"><a id="gadc88f329a4d4bd26dc57e5a613c12a4f" name="gadc88f329a4d4bd26dc57e5a613c12a4f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_NOT_LISTENING</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 10 )</td></tr>
<tr class="memdesc:gadc88f329a4d4bd26dc57e5a613c12a4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Socket not listening. <br /></td></tr>
<tr class="separator:gadc88f329a4d4bd26dc57e5a613c12a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac5f5fb81bfb98a38b7b36981f1be2ac7"><td class="memItemLeft" align="right" valign="top"><a id="gac5f5fb81bfb98a38b7b36981f1be2ac7" name="gac5f5fb81bfb98a38b7b36981f1be2ac7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_TIMEOUT</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 11 )</td></tr>
<tr class="memdesc:gac5f5fb81bfb98a38b7b36981f1be2ac7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operation timed out. <br /></td></tr>
<tr class="separator:gac5f5fb81bfb98a38b7b36981f1be2ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f5e9c34eb80c82cd3d3391061a0f203"><td class="memItemLeft" align="right" valign="top"><a id="ga3f5e9c34eb80c82cd3d3391061a0f203" name="ga3f5e9c34eb80c82cd3d3391061a0f203"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_IN_PROGRESS</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 12 )</td></tr>
<tr class="memdesc:ga3f5e9c34eb80c82cd3d3391061a0f203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operation in progress. <br /></td></tr>
<tr class="separator:ga3f5e9c34eb80c82cd3d3391061a0f203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga630d23c9249b20e544d6967bb7fad02b"><td class="memItemLeft" align="right" valign="top"><a id="ga630d23c9249b20e544d6967bb7fad02b" name="ga630d23c9249b20e544d6967bb7fad02b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_HOST_NOT_FOUND</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 13 )</td></tr>
<tr class="memdesc:ga630d23c9249b20e544d6967bb7fad02b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host not found. <br /></td></tr>
<tr class="separator:ga630d23c9249b20e544d6967bb7fad02b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1e29599b933b3e95c49b4a680832f67"><td class="memItemLeft" align="right" valign="top"><a id="gaa1e29599b933b3e95c49b4a680832f67" name="gaa1e29599b933b3e95c49b4a680832f67"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_TLS_ERROR</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 14 )</td></tr>
<tr class="memdesc:gaa1e29599b933b3e95c49b4a680832f67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generic TLS error. <br /></td></tr>
<tr class="separator:gaa1e29599b933b3e95c49b4a680832f67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ab175e739acbc1da3458c6f2c9980b4"><td class="memItemLeft" align="right" valign="top"><a id="ga8ab175e739acbc1da3458c6f2c9980b4" name="ga8ab175e739acbc1da3458c6f2c9980b4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_INVALID_SOCKET</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 15 )</td></tr>
<tr class="memdesc:ga8ab175e739acbc1da3458c6f2c9980b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalid socket. <br /></td></tr>
<tr class="separator:ga8ab175e739acbc1da3458c6f2c9980b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1881006ccc90612cb186301df9cfd847"><td class="memItemLeft" align="right" valign="top"><a id="ga1881006ccc90612cb186301df9cfd847" name="ga1881006ccc90612cb186301df9cfd847"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_NOT_SUPPORTED</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 16 )</td></tr>
<tr class="memdesc:ga1881006ccc90612cb186301df9cfd847"><td class="mdescLeft">&#160;</td><td class="mdescRight">API not supported. <br /></td></tr>
<tr class="separator:ga1881006ccc90612cb186301df9cfd847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa6993d25f240ea318b81be9c1dbb1262"><td class="memItemLeft" align="right" valign="top"><a id="gaa6993d25f240ea318b81be9c1dbb1262" name="gaa6993d25f240ea318b81be9c1dbb1262"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_NOT_INITIALIZED</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 17 )</td></tr>
<tr class="memdesc:gaa6993d25f240ea318b81be9c1dbb1262"><td class="mdescLeft">&#160;</td><td class="mdescRight">Library not initialized. <br /></td></tr>
<tr class="separator:gaa6993d25f240ea318b81be9c1dbb1262"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga124cf86b625393915202c81b9873fcde"><td class="memItemLeft" align="right" valign="top"><a id="ga124cf86b625393915202c81b9873fcde" name="ga124cf86b625393915202c81b9873fcde"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_NETIF_DOES_NOT_EXIST</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 18 )</td></tr>
<tr class="memdesc:ga124cf86b625393915202c81b9873fcde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Network interface does not exist. <br /></td></tr>
<tr class="separator:ga124cf86b625393915202c81b9873fcde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe365734cca2ee1ad94cda64aec31d3f"><td class="memItemLeft" align="right" valign="top"><a id="gafe365734cca2ee1ad94cda64aec31d3f" name="gafe365734cca2ee1ad94cda64aec31d3f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_ARP_TIMEOUT</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 19 )</td></tr>
<tr class="memdesc:gafe365734cca2ee1ad94cda64aec31d3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">ARP resolution timed out. <br /></td></tr>
<tr class="separator:gafe365734cca2ee1ad94cda64aec31d3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb01e3617eec4fc087ea5b5be3f6b5ad"><td class="memItemLeft" align="right" valign="top"><a id="gabb01e3617eec4fc087ea5b5be3f6b5ad" name="gabb01e3617eec4fc087ea5b5be3f6b5ad"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_BAD_NW_STACK_CONFIGURATION</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 20 )</td></tr>
<tr class="memdesc:gabb01e3617eec4fc087ea5b5be3f6b5ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Both IPv4 and IPv6 network stack configuration are disabled. <br /></td></tr>
<tr class="separator:gabb01e3617eec4fc087ea5b5be3f6b5ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga573fe397cab9144679d5738ac76cb2cd"><td class="memItemLeft" align="right" valign="top"><a id="ga573fe397cab9144679d5738ac76cb2cd" name="ga573fe397cab9144679d5738ac76cb2cd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_ADDRESS_IN_USE</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 21 )</td></tr>
<tr class="memdesc:ga573fe397cab9144679d5738ac76cb2cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Socket address already in use. <br /></td></tr>
<tr class="separator:ga573fe397cab9144679d5738ac76cb2cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaea93bdacfc849de370d75e3816de6cf"><td class="memItemLeft" align="right" valign="top"><a id="gaaea93bdacfc849de370d75e3816de6cf" name="gaaea93bdacfc849de370d75e3816de6cf"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_MAX_MEMBERSHIP_ERROR</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 22 )</td></tr>
<tr class="memdesc:gaaea93bdacfc849de370d75e3816de6cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of multicast addresses are already created. <br /></td></tr>
<tr class="separator:gaaea93bdacfc849de370d75e3816de6cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa73d6c7fb948ef5025102cb326826086"><td class="memItemLeft" align="right" valign="top"><a id="gaa73d6c7fb948ef5025102cb326826086" name="gaa73d6c7fb948ef5025102cb326826086"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_MULTICAST_ADDRESS_NOT_REGISTERED</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 23 )</td></tr>
<tr class="memdesc:gaa73d6c7fb948ef5025102cb326826086"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multicast address not registered. <br /></td></tr>
<tr class="separator:gaa73d6c7fb948ef5025102cb326826086"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c4dd80221b242250b7223b5697c2234"><td class="memItemLeft" align="right" valign="top"><a id="ga4c4dd80221b242250b7223b5697c2234" name="ga4c4dd80221b242250b7223b5697c2234"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_ERROR_ROUTING</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 24 )</td></tr>
<tr class="memdesc:ga4c4dd80221b242250b7223b5697c2234"><td class="mdescLeft">&#160;</td><td class="mdescRight">Routing problem. <br /></td></tr>
<tr class="separator:ga4c4dd80221b242250b7223b5697c2234"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e0140aa06e566fbb8852bf3d1837c8d"><td class="memItemLeft" align="right" valign="top"><a id="ga1e0140aa06e566fbb8852bf3d1837c8d" name="ga1e0140aa06e566fbb8852bf3d1837c8d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_PKCS_ERROR</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 25 )</td></tr>
<tr class="memdesc:ga1e0140aa06e566fbb8852bf3d1837c8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">PKCS generic error. <br /></td></tr>
<tr class="separator:ga1e0140aa06e566fbb8852bf3d1837c8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40143a1ca502f18baf2fc6ea9e48d1a6"><td class="memItemLeft" align="right" valign="top"><a id="ga40143a1ca502f18baf2fc6ea9e48d1a6" name="ga40143a1ca502f18baf2fc6ea9e48d1a6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CY_RSLT_MODULE_SECURE_SOCKETS_WOULDBLOCK</b>&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 26 )</td></tr>
<tr class="memdesc:ga40143a1ca502f18baf2fc6ea9e48d1a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send buffer is full while sending / Receive buffer is empty while reading. <br /></td></tr>
<tr class="separator:ga40143a1ca502f18baf2fc6ea9e48d1a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga7631cf4765aea807ee7eef6628ea962c" name="ga7631cf4765aea807ee7eef6628ea962c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7631cf4765aea807ee7eef6628ea962c">&#9670;&nbsp;</a></span>CY_RSLT_MODULE_SECURE_SOCKETS_NOMEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_MODULE_SECURE_SOCKETS_NOMEM&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 3 )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Out of resources. </p>
<p >This error is returned if the system goes out of memory, or network stack resources such as network buffers or the number of connections used exceeds the configured value. To debug this error, check network stack configurations based on the API that is returning this error. </p>

</div>
</div>
<a id="ga2a89a78e3b207e09012dd0c9ed8e49dd" name="ga2a89a78e3b207e09012dd0c9ed8e49dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2a89a78e3b207e09012dd0c9ed8e49dd">&#9670;&nbsp;</a></span>CY_RSLT_MODULE_SECURE_SOCKETS_OPTION_NOT_SUPPORTED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_RSLT_MODULE_SECURE_SOCKETS_OPTION_NOT_SUPPORTED&#160;&#160;&#160;( <a class="el" href="group__group__secure__sockets__results.html#ga47a0ff45a7680dc488de94c559f1cb31">CY_RSLT_SECURE_SOCKETS_ERR_BASE</a> + 8 )</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Socket option not supported error. </p>
<p >Secure Socket Layer returns this error code if the feature is not enabled in lwipopts.h. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Secure Sockets</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
